#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int age;
	double s, huo;
	s = 3.156 * 10000000;
	scanf("%d",&age);
	huo = age * s;
	printf("%f",huo);
	return 0;
}